package com.zxy.dao;

import cn.echo.annotation.PageX;
import com.zxy.model.Roles;
import com.zxy.model.RolesQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface RolesDao {
    int delete(Integer id);

    int insert(Roles record);

    @PageX
    List<Roles> select(RolesQuery query);

    int update(Roles record);
}
